import request from '@/utils/request'

export function findAll(refundId) {
  return request({
    url: '/refundDetail/getRefundInfo',
    method: 'get',
    params:{
      refundId:refundId
    }
  })
}

export function uploadPicture(formData, refundId) {
  return request({
    url: '/refundDetail/uploadPicture',
    method: 'post',
    data: formData, //  // 将 file 参数替换为 formData 对象
    params: refundId
  })
}
